/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Validadores;
import Persistencia.*;
import dominio.*;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import org.springframework.validation.ValidationUtils;


public class ValidadorComentario implements Validator {

   @Override
    public boolean supports(Class clazz) {
        return ComentarioDomain.class.isAssignableFrom(clazz);
    }
    public void validate(Object obj, Errors errors) {
        ComentarioDomain infor = (ComentarioDomain) obj;
    }
}